home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / compuserve-file-archive / 11 Exotic Applications / C64S9C.ZIP / T64.DOC < prev    next >
Encoding:
Text File  |  1994-01-01  |  1.1 KB  |  39 lines

  1. T64 File Structure was developed by Miha Peternel for use in C64S.
  2. It is easy to use and allows future extensions.
  3.  
  4. ______________________
  5.   T64 file structure
  6.  
  7.   Offset, size, description
  8.        0, 64    tape record
  9.       64, 32*n  file records for n directory entries
  10.  64+32*n, ???   binary contents of the files
  11.  
  12. _______________
  13.   Tape Record
  14.  
  15.   Offset, size, description
  16.        0, 32    DOS tape description + EOF (for type)
  17.       32, 2     tape version ($0100)
  18.       34, 2     number of directory entries
  19.       36, 2     number of used entries (can be 0 in my loader)
  20.       38, 2     free
  21.       40, 24    user description as displayed in tape menu
  22.  
  23. _______________
  24.   File Record
  25.  
  26.   Offset, size, description
  27.        0, 1     entry type
  28.                 0 = free entry
  29.                 1 = normal tape file
  30.                 2..255 reserved (for memory snapshots...)
  31.        1, 1     C64 file type
  32.        2, 2     start address
  33.        4, 2     end address
  34.        6, 2     free
  35.        8, 4     offset of file contents start within T64 file
  36.       12, 4     free
  37.       16, 16    C64 file name
  38.  
  39.